package com.spark.incoicings.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.spark.incoicings.vo.DictVO;
import com.spark.incoicings.vo.ProductVO;
import com.spark.invoicings.entity.Product;
import com.spark.invoicings.utils.Result;

import java.util.List;

public interface ProductService extends IService<Product> {

    /**
     * 统计产品销售排行
     * @return
     */
    List<ProductVO> selectProductCount();
    /**
     * 查询商品单位
     * @param id
     * @return
     */
    DictVO selectProductUnIt(Integer id);
}
